BLACKTIE-398 update to replace mongoose with apr socket