refactored serial use to stream protocol
Added socket implementation
kepp handler running while connected
Catch socket exceptions
Merge branch 'socket-connect' into develop
for issue #1