Support keep-alive and port nnumber. Adjust window height.