Fix POST message parsing