Added protocol option
Elements using the api are now taking into account the protocol option, websocket protocol option added
Merge pull request #34 from NikZar/protocol-setting

Protocol setting