add defaults for host and port