Replace C types with NGINX types

Signed-off-by: Kare Nuorteva <kare.nuorteva@reaktor.fi>