### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Authorization headers being sent to API gateway are received on lambdas as "empty string"

### Expected Behavior

_No response_

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

Run a API Gateway with lambda integration

### Environment

```markdown
- OS:
- LocalStack:
```


### Anything else?

_No response_
"""Returns True/False if the socket uses SSL or not, or None if the status cannot be
        determined"""
        def peek_ssl_header():
            peek_bytes = 5
            first_bytes = newsock.recv(peek_bytes, socket.MSG_PEEK)
            if len(first_bytes or "") != peek_bytes:
                return
            first_byte = first_bytes[0]
            return first_byte < 32 or first_byte >= 127
        try:
            return peek_ssl_header()
        except Exception:
            
            
            newsock.setblocking(1)
            newsock.settimeout(1)
            try:
                return peek_ssl_header()
            except Exception:
                return False
ssl.SSLContext.sslsocket_class = DuplexSocket
class GenericProxy:
    
    @classmethod
    def create_ssl_cert(cls, serial_number=None):