khuevu/http-tunnel — pull request #1 by Hengjie (2012-11-25 00:15:10+00:00)
Title: Fix bug for Integer type error

This is to fix an integer type error when entering in a valid port value.

The full error is:

```
Traceback (most recent call last):
File "tunnel.py", line 179, in
start_tunnel(args.listen_port, remote_addr, target_addr)
File "tunnel.py", line 148, in start_tunnel
listen_sock.bind(('', listen_port))
File "/usr/local/Cellar/python/2.7.2/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
TypeError: an integer is required
```