added simple server host extraction