Another header generation bug fixed in the client. Thanks to IngwiePhoenix (issue #13)