Don't use {header,1}, it is buggy with SSL sockets

Also, you can trivially do the same thing with the bit syntax.