Fix bug for "TypeError: an integer is required" error when entering a port value.
Fix bug for "TypeError: an integer is required" error when entering a port value.

khuevu/http-tunnel,proj-network/http-tunnel