add make_socket() to make socket and bind to port given