Refactored the parameter reader into its own function.
Some work on quoted printable. Currently stuck :)