Uses port, host and callback on createClient