Adding support for taking a port number as input (Fixes #6)
Using default port if no parameter is given