Support headers with spaces around colon

Support headers in the format of `NAME : VALUE` (Note the spaces before and after the colon).