Add hrtime.
HTTP ip and port can now be passed as second parameter. If not, the HTTP server wont be started.
Fixed ToCString usage.