Set Access-Control-Allow-Origin header
Set WWW-Authenticate header
Set default port to 4110