adding support for setting the TCP window and PSH flag