add host and port getters