update better errors
allow me to pass a special IP address in dev mode so I can debug ( set TRUSTED_IP )
correct line endings