Local implementation of strdup
Starting on threads for non-blocking server connections
added strdupf
More threaded connection stuff