add 'blank_to_null' and 'remote_ip' methods (and tests)