Extracted logReferrer and logUserAgent
Code style
jshint fixes
Extracted environment flags
Added process state in process title (starting or listening)
0.17.2