Introduce new pipeline stage for response handling

- Delegated response handling from client actor to separate pipeline stage
- Fixed occasional NullPointerException with bulk replies
- Moved API tests into corresponding package