just a minor note, can you inline hostname and port? might be easier to follow