[lib][minip] change tcp socket handles to an opaque tcp_socket_t struct
[warnings] knock out a few warnings and add a few vim tags