Moved from sockjs to eureca rpc implementation