Merge into master from pull request #74:
controller: serialize calls to socket.sendall (https://github.com/floodlight/oftest/pull/74)