Implementing remote_address

This function is responsible for determining the correct IP address of
an actor. If and XFF header is passed in then the first valid address is
extracted and returned. If no XFF header is presented then it returns
the IP of the connected client.

Signed-off-by: Aaron Bedra <aaron@aaronbedra.com>