Some work towards getting transfers working

 - Actually start the worker thread and get it spinning
 - Submit transfers and try to get the result when they are complete
 - Also implement clock_gettime (code stolen from netBSD port) as the
 debug message was bothering me.