Fixes web sockets send function name mismatch