Moving some functions around to make source a bit cleaner
Moving some functions around to make source a bit cleaner

erikprice/SocketRocket,michaelkirk/SocketRocket,erikprice/SocketRocket,michaelkirk/SocketRocket,erikprice/SocketRocket,michaelkirk/SocketRocket,michaelkirk/SocketRocket,michaelkirk/SocketRocket,erikprice/SocketRocket,erikprice/SocketRocket,erikprice/SocketRocket,erikprice/SocketRocket,michaelkirk/SocketRocket,michaelkirk/SocketRocket