Add method to send websocket close frame