Initial commit. Can establish several connections at the same time but not working correctly in other ways.