Added ability to change listening port based on command line switch (-p)