#276 Made parseHeader parse only header and ignore message's body + test.

Let me know if something else should be done to make it in.
Thank you.