Updated code to get request's port to use Express 3 semantics.

closes #926
Merge branch 'development' of https://github.com/balderdashy/sails into development