Implementing visibility timeouts for in flight messages

This brings visibility timeouts for the library :)