add host and port accessors