Sockjs: accept relative base urls

(transform them to absolue urls)