Convert port to integer before use
Merge pull request #52 from HashNuke/port_fix

Convert port to integer before use