Use the new LockedPtr<T> APIs.
Merge branch 'boost-asio' of https://github.com/cocaine/cocaine-plugins into boost-asio

t merges an updated upstream into a topic branch.