new thread-direct and direct bug fixes

* new thread-direct write method
* moved open call onto thread
* increased pcap capture size to 8096