parse full http parameters
implement keepalive, fixes