fix socket connection

fix send_message, StreamSocketListener