Removed mono.net.httplistener as it was causing problems - instead using system.net.httplistener now.