Add plumbing to write reserved bits as set in the MessagePart rather
than hard-coding them to 0.
Re-order method parameters for writing header to align with RFC 6455.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1618835 13f79535-47bb-0310-9956-ffa450edef68