using port argument

Made it possible to use the port argument to specify proxy server port when running serve and dump.