Add send/receive ability to connection class

SwitchConnection now allows sending openflow messages
and registering handlers for received messages. Also
monitors the connection and tries automatic
reconnection.

Change-Id: I91ccfdc9267a39b65eaedd4de5df733c34d918d2
Signed-off-by: Amit Bose <bose@noironetworks.com>