Correctly get port and host form cli args. Fixes #53