anchor.diff:          {tcp_closed, _} ->
               mochiweb_socket:close(Socket),
               exit(normal);
  -        ?R15B_GEN_TCP_FIX
  -        _Other ->
  -            handle_invalid_request(Socket, Request, Headers)
  +        Other ->
  +            handle_invalid_msg_request(Other, Socket, Request, Headers)
       after ?HEADERS_RECV_TIMEOUT ->
           mochiweb_socket:close(Socket),
           exit(normal)
  
positive.code:         {ssl_closed, _} ->
              mochiweb_socket:close(Socket),
              exit(normal);
          ?R15B_GEN_TCP_FIX
          _Other ->
              handle_invalid_request(Socket)
      after ?REQUEST_RECV_TIMEOUT ->
          mochiweb_socket:close(Socket),
          exit(normal)
  
negative.code: -define(MAX_HEADERS, 1000).
  -define(DEFAULTS, [{name, ?MODULE},
                     {port, 8888}]).
  
  -ifdef(gen_tcp_r15b_workaround).
  r15b_workaround() -> true.
  -else.
  r15b_workaround() -> false.
  -endif.
  
  parse_options(Options) ->
      {loop, HttpLoop} = proplists:lookup(loop, Options),
  