  
------------------------------------------------------------
ERROR HANDLING !!!!
------------------------------------------------------------

Merge


mime_message_t *
mime_message_parse(http_input_stream_t *in, 
  const char* root_id, const char* boundary, 
  const char* dest_dir);

and try to optimize mime API

------------------------------------------------------------
check socket API again


