Added command line arguments to choose listening port
Fixed a bug that accept request when the request_line and socket is actually nil