SockJS: added internalServerError() method