Added a new connect function to the client which does uri parsing.
Added a semi-working packet test.