Send message to browser via socket