req_remote_addr(agooReq r) {

    if (NULL == r) {
	rb_raise(rb_eArgError, "Request is no longer valid.");
    }
    return rb_str_new(r->remote, strlen(r->remote));
}
req_remote_addr(agooReq r) {

    if (NULL == r) {
	rb_raise(rb_eArgError, "Request is no longer valid.");
    }
    return rb_str_new(r->remote, strlen(r->remote));
}