added accessors for host & port