new code for handling parsing and resolving etc of host, port and prefixes