add an optional parameter port for supporting special port
Merge pull request #1 from thbourlove/support_special_port

add an optional parameter port for supporting special port