anchor.diff:  	case erlang:decode_packet(http_bin, Buffer, []) of
   		{ok, Request, Rest} -> request(Request, State#state{buffer=Rest});
   		{more, _Length} -> wait_request(State);
  -		{error, _Reason} -> error_response(400, State)
  +		{error, _Reason} -> error_terminate(400, State)
   	end.
   
   -spec wait_request(#state{}) -> ok.
  
positive.code: 	case erlang:decode_packet(httph_bin, Buffer, []) of
  		{ok, Header, Rest} -> header(Header, Req, State#state{buffer=Rest});
  		{more, _Length} -> wait_header(Req, State);
  		{error, _Reason} -> error_response(400, State)
  	end.
  
  -spec wait_header(#http_req{}, #state{}) -> ok.
  
negative.code: next_request(HandlerState, Req=#http_req{buffer=Buffer}, State) ->
  	HandlerRes = handler_terminate(HandlerState, Req, State),
  	BodyRes = ensure_body_processed(Req),
  	RespRes = ensure_response(Req),
  	case {HandlerRes, BodyRes, RespRes, State#state.connection} of
  		{ok, ok, ok, keepalive} ->
  			?MODULE:parse_request(State#state{
  