add keepalive option to the SocketStream.connect methods. closes #114