fixed: typo causing connection.remoteAddress to be undefined