Adding in some rudimentary cookie parsing