moved make_socket into BufferedSocket-constructor