anchor.diff:      ok = mochiweb_socket:setopts(Socket, [{packet, http}]),
       request(Socket, Body).
   
  --ifdef(gen_tcp_r15b_workaround).
  --define(R15B_GEN_TCP_FIX, {tcp_error,_,emsgsize} ->
  -                 % R15B02 returns this then closes the socket, so close and exit
  -                 mochiweb_socket:close(Socket),
  -                 exit(normal);
  -       ).
  --else.
  --define(R15B_GEN_TCP_FIX,).
  --endif.
  -
   request(Socket, Body) ->
       ok = mochiweb_socket:setopts(Socket, [{active, once}]),
       receive
  
positive.code: -define(MAX_HEADERS, 1000).
  -define(DEFAULTS, [{name, ?MODULE},
                     {port, 8888}]).
  
  parse_options(Options) ->
      {loop, HttpLoop} = proplists:lookup(loop, Options),
  
negative.code:         {ssl_closed, _} ->
              mochiweb_socket:close(Socket),
              exit(normal);
          Other ->
              handle_invalid_msg_request(Other, Socket)
      after ?REQUEST_RECV_TIMEOUT ->
          mochiweb_socket:close(Socket),
          exit(normal)
  