Add host/port configuration

Close #12