added port_stats multipart_reply stuff, also ghetto merged our .h