Removed the need for plibc for mhttpd, using msvcrt for most and logging done by simple function
emulate pipes with sockets, prevents xbmc hanging forever shutting down
reverted some random changes