Remove generic type for server context and client context
Because jdk aio API does not support nested generic type for attachment object