Enforce connected status when reading/writing from socket

Reading or writing from libuv on a non-connected socket produces horrible runtime segfaults. This makes the error condition easier to track down.
Bump version