Fixed #78 add support to custom port

i tested and it works
![screen](https://cloud.githubusercontent.com/assets/1932383/2694831/2ce2762a-c3ca-11e3-8969-d9498b32fc75.png)