Re-working negotiate
Adding weights to headers
Fixed headers. Still needs sorting.
Fixed headers. Still needs sorting.