Bug fixes, added remote_addr to request objects